Skip to content

CURA-13359 Fix fractional tree support overlapping regular support - #2402

Open
Erwan MATHIEU (wawanbreton) wants to merge 2 commits into
5.14from
CURA-13359_overlapping-tree-support-circles
Open

Erwan MATHIEU (wawanbreton) wants to merge 2 commits into
5.14from
CURA-13359_overlapping-tree-support-circles

Conversation

@wawanbreton

Copy link
Copy Markdown
Contributor

Fractional tree support is added separately from regular support, and sometimes they could actually overlap. Now we substract the fractional support from the regular support so that they are printed separately.

Given the tree support handling of the fractional layers, the result is sometimes a bit unexpected, but does make some sense:
image
image

CURA-13359

@wawanbreton
Erwan MATHIEU (wawanbreton) marked this pull request as ready for review October 9, 2026 13:11
Copilot AI balanced review requested due to automatic review settings October 9, 2026 13:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Fractional support can still overlap regular support persisted by earlier mesh groups.

1 open finding
What changed in this PR

Separates fractional tree support from regular support to prevent overlapping extrusion.

Changes:

  • Subtracts fractional support from regular support areas.
  • Marks read-only support inputs as const.
File Description
src/​TreeSupport.cpp Partitions fractional and regular support geometry.
include/​TreeSupport.h Updates parameter constness.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/TreeSupport.cpp
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

31 tests  ±0   31 ✅ ±0   5s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 34cfbd1. ± Comparison against base commit ded6ed6.

♻️ This comment has been updated with latest results.

@rburema Remco Burema (rburema) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit strange that it still prints multiple layers of fractional support on top of each other -- but the old solution did that also, and I think it can't hurt (might even help).

Looks good otherwise!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants